package cn.four.hqServer.modules.deposit.service;

import cn.four.hqServer.common.entity.HqCardInfo;
import cn.four.hqServer.common.result.Result;
import cn.four.hqServer.modules.deposit.dto.DeposDto;
import com.baomidou.mybatisplus.extension.service.IService;


/**
 * @author cccxm
 * @version 1.0
 */
public interface CxmUserDepositService extends IService<HqCardInfo> {

    //存款
    Result saveMoney(DeposDto deposDto) throws InterruptedException;

    //获取信息
    HqCardInfo getCardInfo(String cardId);

    //更新银行卡余额
    int updateBalance(HqCardInfo hqCardInfo);
}
